﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class Security
    {
        #region public methods

        /// <summary>
        /// default constructor of Portfolio. 
        /// </summary>
        public Security()
        {
            this.Symbol = string.Empty;
            this.Name = string.Empty;
            this.MarketValue = 0;
            this.MarginPercentage = 0;
        }

        #endregion

        #region property

        public string Symbol{ get; set; }
        public string Name { get; set; }
        public double MarketValue { get; set; }
        public double MarginPercentage { get; set; }

        #endregion
    }

    public class SecurityCollection : Collection<Security>
    {
        public SecurityCollection()
        {
        }
    }
}
